package com.old.people.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.old.people.entities.Account;
import com.old.people.entities.DieasePeople;

@Mapper
public interface ManagerMapper {
	List<Account> getAccount(Integer begin);
	Integer getAccountSum();
	boolean updateAccountType(String account_id,String account_type);
	Account selectAccount(String account_id);
	
	List<DieasePeople> getDieasePeople(Integer begin);
	Integer getDieasePeopleSum();
	List<DieasePeople> selectDieasepeople(String oldpeople_name);
	
	boolean updateAccount(String account_id,String account_password);
}
